/**
 * 
 * The bomb manager manages everything related to bombs for the game.
 * 
 * Author: Matthias Van Eeghem <matthias@van-eeghem.com>
 * All rights reserved.
 * 
 */

package com.bomberman.bomb;

import java.util.ArrayList;

public class BombManager 
{
	/**
	 * Holds the list of all bombs currently active
	 */
	private static ArrayList<Bomb> bombList = new ArrayList<Bomb>();
	
	/**
	 * Adds a brick to the field
	 * 
	 * @param brick The bomb object to add
	 */
	
	public static void add(Bomb bomb)
	{
		// Push back the object on the bomb list
		bombList.add(bomb);
	}
	
	/**
	 * Returns the bomb list.
	 * 
	 * @return The bomb list
	 */
	
	public static ArrayList<Bomb> getBombList()
	{
		return bombList;
	}
}
